package com.yiren.dbaa.module.practice_set.basestation.bean;

import java.io.Serializable;

/**
 * Time:2022/6/1 15:19
 * Author:xiaozan
 * Description:oss 固定站坐标信息 bean
 */
public class BaseStationBean implements Serializable {

    private static final long serialVersionUID = 6557760230585994717L;

    /*** 基站id */
    private String id;
    /*** 基站名称 */
    private String name;
    private double longitude;
    private double latitude;
    private double altitude;
    /*** 基站地址 */
    private String address;
    /*** 基站距离 */
    private float distance;
    /*** 0:未标定 1：已标定 */
    private int calibration;
    /*** 0:离线 1：在线 */
    private int state;
    /*** 创建人 */
    private int userId;
    /*** 安装时间 */
    private long createTm;
    /*** 上次掉线时间 */
    private long offlineTm;
    /*** 最新上线时间 */
    private long onlineTm;
    /*** 数据包最新接收时间 */
    private long packetReceivedTm;
    /*** 连接数 */
    private int connectNumber;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public float getDistance() {
        return distance;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }

    public void setLocationInfo(double longitude, double latitude, double altitude, String address, float distance) {
        this.longitude = longitude;
        this.latitude = latitude;
        this.altitude = altitude;
        this.address = address;
        this.distance = distance;
    }

    public int getCalibration() {
        return calibration;
    }

    public void setCalibration(int calibration) {
        this.calibration = calibration;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public long getCreateTm() {
        return createTm;
    }

    public void setCreateTm(long createTm) {
        this.createTm = createTm;
    }

    public long getOfflineTm() {
        return offlineTm;
    }

    public void setOfflineTm(long offlineTm) {
        this.offlineTm = offlineTm;
    }

    public long getOnlineTm() {
        return onlineTm;
    }

    public void setOnlineTm(long onlineTm) {
        this.onlineTm = onlineTm;
    }

    public long getPacketReceivedTm() {
        return packetReceivedTm;
    }

    public void setPacketReceivedTm(long packetReceivedTm) {
        this.packetReceivedTm = packetReceivedTm;
    }

    public int getConnectNumber() {
        return connectNumber;
    }

    public void setConnectNumber(int connectNumber) {
        this.connectNumber = connectNumber;
    }
}
